package com.example.demo.mapper;

import com.example.demo.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Author: yucsa
 * @Date: 2021/8/23 10:26
 */
@Repository
@Mapper
public interface AdminMapper {
    /**
     *
     * @param shopName 管理员用shopname做登录标识
     * @return Admin类
     */
    public Admin queryAdminByName(String shopName);
    public Admin findById(long id);
}
